<?php
/**
 * Sakam - framework oriented trough models
 * 
 * @category   	Sakam
 * @package    	Sakam_Data
 * @subpackage  Sakam_Data_Database
 * @author		Carlos Gonzalez <zahualli@gmail.com>
 * @copyright  	Copyright (c) 2009-2010 Carlos Gonzalez
 */
interface Sakam_Data_Database_Interface
{
	/**
	 * Set name
	 * 
	 * @param	string	$name
	 * @return 	void
	 */
	private function setName( $name );
	
	/**
	 * Set name
	 * 
	 * @param	string	$name
	 * @return 	void
	 */
	private function getName( $name );
	
	/**
	 * Add table database
	 * 
	 * @param	Sakam_Data_Table_Interface	$table 
	 * @return 	bool
	 */
	public function addTable( Sakam_Data_Table_Interface $table );
	
	/**
	 * Get SQL code
	 * 
	 * @return string
	 */
	public function getSQL();
	
}